<?php
include("../inc/conn.inc");
$hover=2;
$url="list.php";
$thepage=$_GET['page']?$_GET['page']:1;
$maxpage=150;
//mysql_query('update `hot_product` set `hot_id` =320  WHERE `id` in(2774,2793,5934)');
//mysql_query('delete from `hot_product` WHERE `id` in(2275)');

$rs=@mysql_query("select * from hot_product where id='".$_GET['id']."'");
$row=@mysql_fetch_array($rs);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$row[hot_name]?>，<?=$row[hot_name]?>价格，<?=$row[hot_name]?>产品列表，热点产品</title>
<meta name="description" content="三帝贸易网热点产品目录为您提供<?=$row[hot_name]?>，<?=$row[hot_name]?>价格，<?=$row[hot_name]?>生产厂家、<?=$row[hot_name]?>，最新<?=$row[hot_name]?>产品列表。" />
<meta name="keywords" content="<?=$row[hot_name]?>，<?=$row[hot_name]?>价格，<?=$row[hot_name]?>产品列表，热点<?=$row[hot_name]?>产品，热点产品" />
<link href="/css/body.css" rel="stylesheet" type="text/css" />
<link href="/css/link.css" rel="stylesheet" type="text/css" />
<link href="/css/head.css" rel="stylesheet" type="text/css" />
<link href="/hot-pro/css/prolist.css" rel="stylesheet" type="text/css" />
<link href="/css/foot.css" rel="stylesheet" type="text/css" />
</head>
<body>
<?php include("../inc/head_top.php")?>
<?php include("../inc/index_search.php")?>
<?php include("../inc/menu.php");?>
<div id="mian" class="topside6 side">
<div class="title"><span><b><a href="http://www.sandib2b.cn/about/hotad.php" target="_blank">我想在这出现</a></b></span>您所在的位置：<a href="/">首页</a> >> <a href="/hot-pro/">热点产品</a> >> <?=$row[hot_name]?></div>
<div class="onl"></div>
</div>

<div class="w960 topside20 downside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div>

<div id="mian" class="topside6" style="margin-bottom:18px; margin-top:18px;">
<script type="text/javascript">
var sogou_ad_id=92308;
var sogou_ad_height=90;
var sogou_ad_width=960;
</script>
<script language='JavaScript' type='text/javascript' src='http://images.sohu.com/cs/jsfile/js/c.js'></script>
</div>

<div id="mian" class="topside6 side" align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-2924453545159453";
/* 728x90, 创建于 11-3-18 */
google_ad_slot = "0531157620";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<div class="onl"></div>
</div>

<div id="mian" class="topside6  sideyellow backyellow">
<div class="title1 size14 b"><?=$row[hot_name]?></div>
<div class="Class backwhite sideyellow1">
<ul>
<?php
$rs2=@mysql_query("select id,hot_ping,hot_name from hot_product where hot_id='".$row['id']."' order by id asc limit ".($thepage-1)*$maxpage.",$maxpage");
while($row2=@mysql_fetch_array($rs2)){
?>
<li style="background:#EAEAEA;"><a href="/hot/<?=$row2[hot_ping]?>-cid<?=$row2['id']?>.html" target="_blank"><?=$row2[hot_name]?></a>
<br />
<a href="/hot/<?=$row2[hot_ping]?>-city<?=$row2['id']?>.html" target="_blank" style="color:#999999; font-size:9px; padding-left:100px;">更多</a></li>
<?php }
?>
</ul>
<div class="onl"></div>

<?php
$rs2=@mysql_query("select count(id) from hot_product where hot_id='".$row['id']."'");
$totalrecord=@mysql_result($rs2,0);
$totalpage=ceil($totalrecord/$maxpage);
@mysql_free_result($rs2);
if($totalpage>0){
?>
<div align="center">
<?php if($thepage>1){?>
   <a href="/hot/type-tid<?=$_GET[id]?>.html">第一页</a>&nbsp;<a href="/hot/type-tid<?=$_GET[id]?>/<?=$thepage-1?>.html">上一页</a>&nbsp;
<?php }?>  
<?php if($thepage!=$totalpage&&$totalpage>0){?>
   <a href="/hot/type-tid<?=$_GET[id]?>/<?=$thepage+1?>.html">下一页</a>&nbsp;<a href="/hot/type-tid<?=$_GET[id]?>/<?=$totalpage?>.html">最后一页</a>&nbsp;
<?php }?>   
   【共<font color="red"><?=$totalrecord?></font>条记录】【每页<font color="red"><?=$maxpage?></font>条记录】【共<font color="red"><?=$totalpage?></font>页】</div>
<?php }?>

</div>
</div>

<div class="w960 topside20 downside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div>

<?php include("../inc/foot.php");?>
</body>
</html>


<script type="text/javascript">/*120*270，创建于2011-3-23*/ var cpro_id = 'u419785';</script><script src="http://cpro.baidu.com/cpro/ui/f.js" type="text/javascript"></script>

